package com.system.common.entity.purview;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PurviewExample {
    /**
     * t_purview
     */
    protected String orderByClause;

    /**
     * t_purview
     */
    protected boolean distinct;

    /**
     * t_purview
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbg.generated 2020-04-10
     */
    public PurviewExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbg.generated 2020-04-10
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbg.generated 2020-04-10
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbg.generated 2020-04-10
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbg.generated 2020-04-10
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbg.generated 2020-04-10
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbg.generated 2020-04-10
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbg.generated 2020-04-10
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbg.generated 2020-04-10
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbg.generated 2020-04-10
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @mbg.generated 2020-04-10
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * t_purview 2020-04-10
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPurNameIsNull() {
            addCriterion("pur_name is null");
            return (Criteria) this;
        }

        public Criteria andPurNameIsNotNull() {
            addCriterion("pur_name is not null");
            return (Criteria) this;
        }

        public Criteria andPurNameEqualTo(String value) {
            addCriterion("pur_name =", value, "purName");
            return (Criteria) this;
        }

        public Criteria andPurNameNotEqualTo(String value) {
            addCriterion("pur_name <>", value, "purName");
            return (Criteria) this;
        }

        public Criteria andPurNameGreaterThan(String value) {
            addCriterion("pur_name >", value, "purName");
            return (Criteria) this;
        }

        public Criteria andPurNameGreaterThanOrEqualTo(String value) {
            addCriterion("pur_name >=", value, "purName");
            return (Criteria) this;
        }

        public Criteria andPurNameLessThan(String value) {
            addCriterion("pur_name <", value, "purName");
            return (Criteria) this;
        }

        public Criteria andPurNameLessThanOrEqualTo(String value) {
            addCriterion("pur_name <=", value, "purName");
            return (Criteria) this;
        }

        public Criteria andPurNameLike(String value) {
            addCriterion("pur_name like", value, "purName");
            return (Criteria) this;
        }

        public Criteria andPurNameNotLike(String value) {
            addCriterion("pur_name not like", value, "purName");
            return (Criteria) this;
        }

        public Criteria andPurNameIn(List<String> values) {
            addCriterion("pur_name in", values, "purName");
            return (Criteria) this;
        }

        public Criteria andPurNameNotIn(List<String> values) {
            addCriterion("pur_name not in", values, "purName");
            return (Criteria) this;
        }

        public Criteria andPurNameBetween(String value1, String value2) {
            addCriterion("pur_name between", value1, value2, "purName");
            return (Criteria) this;
        }

        public Criteria andPurNameNotBetween(String value1, String value2) {
            addCriterion("pur_name not between", value1, value2, "purName");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("parent_id is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("parent_id is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(Long value) {
            addCriterion("parent_id =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(Long value) {
            addCriterion("parent_id <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(Long value) {
            addCriterion("parent_id >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("parent_id >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(Long value) {
            addCriterion("parent_id <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(Long value) {
            addCriterion("parent_id <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<Long> values) {
            addCriterion("parent_id in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<Long> values) {
            addCriterion("parent_id not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(Long value1, Long value2) {
            addCriterion("parent_id between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(Long value1, Long value2) {
            addCriterion("parent_id not between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andPurDescribeIsNull() {
            addCriterion("pur_describe is null");
            return (Criteria) this;
        }

        public Criteria andPurDescribeIsNotNull() {
            addCriterion("pur_describe is not null");
            return (Criteria) this;
        }

        public Criteria andPurDescribeEqualTo(String value) {
            addCriterion("pur_describe =", value, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurDescribeNotEqualTo(String value) {
            addCriterion("pur_describe <>", value, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurDescribeGreaterThan(String value) {
            addCriterion("pur_describe >", value, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("pur_describe >=", value, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurDescribeLessThan(String value) {
            addCriterion("pur_describe <", value, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurDescribeLessThanOrEqualTo(String value) {
            addCriterion("pur_describe <=", value, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurDescribeLike(String value) {
            addCriterion("pur_describe like", value, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurDescribeNotLike(String value) {
            addCriterion("pur_describe not like", value, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurDescribeIn(List<String> values) {
            addCriterion("pur_describe in", values, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurDescribeNotIn(List<String> values) {
            addCriterion("pur_describe not in", values, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurDescribeBetween(String value1, String value2) {
            addCriterion("pur_describe between", value1, value2, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurDescribeNotBetween(String value1, String value2) {
            addCriterion("pur_describe not between", value1, value2, "purDescribe");
            return (Criteria) this;
        }

        public Criteria andPurTypeIsNull() {
            addCriterion("pur_type is null");
            return (Criteria) this;
        }

        public Criteria andPurTypeIsNotNull() {
            addCriterion("pur_type is not null");
            return (Criteria) this;
        }

        public Criteria andPurTypeEqualTo(Integer value) {
            addCriterion("pur_type =", value, "purType");
            return (Criteria) this;
        }

        public Criteria andPurTypeNotEqualTo(Integer value) {
            addCriterion("pur_type <>", value, "purType");
            return (Criteria) this;
        }

        public Criteria andPurTypeGreaterThan(Integer value) {
            addCriterion("pur_type >", value, "purType");
            return (Criteria) this;
        }

        public Criteria andPurTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("pur_type >=", value, "purType");
            return (Criteria) this;
        }

        public Criteria andPurTypeLessThan(Integer value) {
            addCriterion("pur_type <", value, "purType");
            return (Criteria) this;
        }

        public Criteria andPurTypeLessThanOrEqualTo(Integer value) {
            addCriterion("pur_type <=", value, "purType");
            return (Criteria) this;
        }

        public Criteria andPurTypeIn(List<Integer> values) {
            addCriterion("pur_type in", values, "purType");
            return (Criteria) this;
        }

        public Criteria andPurTypeNotIn(List<Integer> values) {
            addCriterion("pur_type not in", values, "purType");
            return (Criteria) this;
        }

        public Criteria andPurTypeBetween(Integer value1, Integer value2) {
            addCriterion("pur_type between", value1, value2, "purType");
            return (Criteria) this;
        }

        public Criteria andPurTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("pur_type not between", value1, value2, "purType");
            return (Criteria) this;
        }

        public Criteria andPurUrlIsNull() {
            addCriterion("pur_url is null");
            return (Criteria) this;
        }

        public Criteria andPurUrlIsNotNull() {
            addCriterion("pur_url is not null");
            return (Criteria) this;
        }

        public Criteria andPurUrlEqualTo(String value) {
            addCriterion("pur_url =", value, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurUrlNotEqualTo(String value) {
            addCriterion("pur_url <>", value, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurUrlGreaterThan(String value) {
            addCriterion("pur_url >", value, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurUrlGreaterThanOrEqualTo(String value) {
            addCriterion("pur_url >=", value, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurUrlLessThan(String value) {
            addCriterion("pur_url <", value, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurUrlLessThanOrEqualTo(String value) {
            addCriterion("pur_url <=", value, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurUrlLike(String value) {
            addCriterion("pur_url like", value, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurUrlNotLike(String value) {
            addCriterion("pur_url not like", value, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurUrlIn(List<String> values) {
            addCriterion("pur_url in", values, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurUrlNotIn(List<String> values) {
            addCriterion("pur_url not in", values, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurUrlBetween(String value1, String value2) {
            addCriterion("pur_url between", value1, value2, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurUrlNotBetween(String value1, String value2) {
            addCriterion("pur_url not between", value1, value2, "purUrl");
            return (Criteria) this;
        }

        public Criteria andPurLevelIsNull() {
            addCriterion("pur_level is null");
            return (Criteria) this;
        }

        public Criteria andPurLevelIsNotNull() {
            addCriterion("pur_level is not null");
            return (Criteria) this;
        }

        public Criteria andPurLevelEqualTo(Integer value) {
            addCriterion("pur_level =", value, "purLevel");
            return (Criteria) this;
        }

        public Criteria andPurLevelNotEqualTo(Integer value) {
            addCriterion("pur_level <>", value, "purLevel");
            return (Criteria) this;
        }

        public Criteria andPurLevelGreaterThan(Integer value) {
            addCriterion("pur_level >", value, "purLevel");
            return (Criteria) this;
        }

        public Criteria andPurLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("pur_level >=", value, "purLevel");
            return (Criteria) this;
        }

        public Criteria andPurLevelLessThan(Integer value) {
            addCriterion("pur_level <", value, "purLevel");
            return (Criteria) this;
        }

        public Criteria andPurLevelLessThanOrEqualTo(Integer value) {
            addCriterion("pur_level <=", value, "purLevel");
            return (Criteria) this;
        }

        public Criteria andPurLevelIn(List<Integer> values) {
            addCriterion("pur_level in", values, "purLevel");
            return (Criteria) this;
        }

        public Criteria andPurLevelNotIn(List<Integer> values) {
            addCriterion("pur_level not in", values, "purLevel");
            return (Criteria) this;
        }

        public Criteria andPurLevelBetween(Integer value1, Integer value2) {
            addCriterion("pur_level between", value1, value2, "purLevel");
            return (Criteria) this;
        }

        public Criteria andPurLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("pur_level not between", value1, value2, "purLevel");
            return (Criteria) this;
        }

        public Criteria andLoginIsNull() {
            addCriterion("login is null");
            return (Criteria) this;
        }

        public Criteria andLoginIsNotNull() {
            addCriterion("login is not null");
            return (Criteria) this;
        }

        public Criteria andLoginEqualTo(Integer value) {
            addCriterion("login =", value, "login");
            return (Criteria) this;
        }

        public Criteria andLoginNotEqualTo(Integer value) {
            addCriterion("login <>", value, "login");
            return (Criteria) this;
        }

        public Criteria andLoginGreaterThan(Integer value) {
            addCriterion("login >", value, "login");
            return (Criteria) this;
        }

        public Criteria andLoginGreaterThanOrEqualTo(Integer value) {
            addCriterion("login >=", value, "login");
            return (Criteria) this;
        }

        public Criteria andLoginLessThan(Integer value) {
            addCriterion("login <", value, "login");
            return (Criteria) this;
        }

        public Criteria andLoginLessThanOrEqualTo(Integer value) {
            addCriterion("login <=", value, "login");
            return (Criteria) this;
        }

        public Criteria andLoginIn(List<Integer> values) {
            addCriterion("login in", values, "login");
            return (Criteria) this;
        }

        public Criteria andLoginNotIn(List<Integer> values) {
            addCriterion("login not in", values, "login");
            return (Criteria) this;
        }

        public Criteria andLoginBetween(Integer value1, Integer value2) {
            addCriterion("login between", value1, value2, "login");
            return (Criteria) this;
        }

        public Criteria andLoginNotBetween(Integer value1, Integer value2) {
            addCriterion("login not between", value1, value2, "login");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Integer value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Integer value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Integer value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Integer> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Integer> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNull() {
            addCriterion("order_num is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNotNull() {
            addCriterion("order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumEqualTo(Integer value) {
            addCriterion("order_num =", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotEqualTo(Integer value) {
            addCriterion("order_num <>", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThan(Integer value) {
            addCriterion("order_num >", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_num >=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThan(Integer value) {
            addCriterion("order_num <", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThanOrEqualTo(Integer value) {
            addCriterion("order_num <=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumIn(List<Integer> values) {
            addCriterion("order_num in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotIn(List<Integer> values) {
            addCriterion("order_num not in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumBetween(Integer value1, Integer value2) {
            addCriterion("order_num between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotBetween(Integer value1, Integer value2) {
            addCriterion("order_num not between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("creator is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("creator is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(Long value) {
            addCriterion("creator =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(Long value) {
            addCriterion("creator <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(Long value) {
            addCriterion("creator >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(Long value) {
            addCriterion("creator >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(Long value) {
            addCriterion("creator <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(Long value) {
            addCriterion("creator <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<Long> values) {
            addCriterion("creator in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<Long> values) {
            addCriterion("creator not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(Long value1, Long value2) {
            addCriterion("creator between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(Long value1, Long value2) {
            addCriterion("creator not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andEditorIsNull() {
            addCriterion("editor is null");
            return (Criteria) this;
        }

        public Criteria andEditorIsNotNull() {
            addCriterion("editor is not null");
            return (Criteria) this;
        }

        public Criteria andEditorEqualTo(Long value) {
            addCriterion("editor =", value, "editor");
            return (Criteria) this;
        }

        public Criteria andEditorNotEqualTo(Long value) {
            addCriterion("editor <>", value, "editor");
            return (Criteria) this;
        }

        public Criteria andEditorGreaterThan(Long value) {
            addCriterion("editor >", value, "editor");
            return (Criteria) this;
        }

        public Criteria andEditorGreaterThanOrEqualTo(Long value) {
            addCriterion("editor >=", value, "editor");
            return (Criteria) this;
        }

        public Criteria andEditorLessThan(Long value) {
            addCriterion("editor <", value, "editor");
            return (Criteria) this;
        }

        public Criteria andEditorLessThanOrEqualTo(Long value) {
            addCriterion("editor <=", value, "editor");
            return (Criteria) this;
        }

        public Criteria andEditorIn(List<Long> values) {
            addCriterion("editor in", values, "editor");
            return (Criteria) this;
        }

        public Criteria andEditorNotIn(List<Long> values) {
            addCriterion("editor not in", values, "editor");
            return (Criteria) this;
        }

        public Criteria andEditorBetween(Long value1, Long value2) {
            addCriterion("editor between", value1, value2, "editor");
            return (Criteria) this;
        }

        public Criteria andEditorNotBetween(Long value1, Long value2) {
            addCriterion("editor not between", value1, value2, "editor");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeIsNull() {
            addCriterion("edit_time is null");
            return (Criteria) this;
        }

        public Criteria andEditTimeIsNotNull() {
            addCriterion("edit_time is not null");
            return (Criteria) this;
        }

        public Criteria andEditTimeEqualTo(Date value) {
            addCriterion("edit_time =", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotEqualTo(Date value) {
            addCriterion("edit_time <>", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeGreaterThan(Date value) {
            addCriterion("edit_time >", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("edit_time >=", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLessThan(Date value) {
            addCriterion("edit_time <", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLessThanOrEqualTo(Date value) {
            addCriterion("edit_time <=", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeIn(List<Date> values) {
            addCriterion("edit_time in", values, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotIn(List<Date> values) {
            addCriterion("edit_time not in", values, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeBetween(Date value1, Date value2) {
            addCriterion("edit_time between", value1, value2, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotBetween(Date value1, Date value2) {
            addCriterion("edit_time not between", value1, value2, "editTime");
            return (Criteria) this;
        }
    }

    /**
     * t_purview
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * t_purview 2020-04-10
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}